package com.young.springdemo.service.command;

public class ExitCommand extends Command {
    private FunctionExit functionExit;

    public ExitCommand() {
        this.functionExit = new FunctionExit();
    }

    @Override
    public void execute() {
        functionExit.exit();
    }
}
